package com.asset.admin.dao.mapper;

import com.asset.admin.dao.entity.TradingTypeEntity;
import com.asset.admin.system.tradingtype.form.TradingTypeQueryForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 交易类型mapper
 * </p>
 *
 * @author 牧之
 * @date 2024/2/19 16:05
 */
public interface ITradingTypeMapper {
    public void create(TradingTypeEntity entity);

    public void deleteById(Long id);

    public void update(TradingTypeEntity entity);

    public TradingTypeEntity getById(Long id);

    public List<TradingTypeEntity> getListByQuery(TradingTypeQueryForm queryForm);

    int getCount(TradingTypeQueryForm queryForm);
}
